<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>优惠券表</title>
    <link rel="stylesheet" href="../../../../layui/css/layui.css">
    <link rel="stylesheet" href="../../../../css/userCss/userManagement/userList.css">
    <style>
      .layui-table-cell{
        height: auto!important;
        white-space: normal;
        width: 150px;
      }
    </style>
  </head>
  <body>

    <div class="center">
      <form class="layui-form" action="javaScript:;">
        <div class="layui-form-item" style=" margin-bottom: -30px;">

          <input type="hidden" id="index">
          <input type="hidden" name="userArray" id="userArray">
          <label class="layui-form-label">优惠券名称:</label>
          <div class="layui-input-inline">
            <input type="text" name="discountsName" placeholder="请输入优惠券名称" class="layui-input">
          </div>

          <label class="layui-form-label">发送方式:</label>
          <div class="layui-input-inline">
            <select name="discountsType">
              <option value="">请选择一个发送方式</option>
              <option value="商品">商品</option>
              <option value="视频">视频</option>
              <option value="无限制">无限制</option>
            </select>
          </div>

          <button class="layui-btn layui-btn-primary layui-border-green" lay-submit lay-filter="ff">
            <i class="layui-icon" style="font-size: 25px; color: green">&#xe615;</i>
          </button>

        </div>
      </form>

      <!--  表格展示-->
      <div class="layui-container" style="margin-top: 30px; margin-bottom: 50px;">
        <table id="demo" lay-filter="filterDemo"></table>
      </div>

    </div>

  </body>

  <script src="../../../../layui/layui.js"></script>
  <script src="../../../../layui/jquery-3.6.0.js"></script>
  <script src="../../../../js/userJs/userManagement/couponTable.js"></script>
  <script type="text/html" id="toolbardemo">
    <span>
        <i class="layui-icon">&#xe62d;</i>
        优惠券表格
      </span>
    <button class="layui-btn layui-btn-primary layui-border-blue" lay-event="add"
            style="width: 120px; height: 40px; margin-left: 200px">
      确认发放
    </button>
  </script>
</html>